package com.zhaosc.shiro.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import com.zhaosc.shiro.model.Organization;

/**
 * 
 * @Description:TODO
 * @author:zhaosc
 * @time:2017年8月18日
 * @exception
 */
@Repository
public interface OrganizationDao extends JpaRepository<Organization, Long> {
	
    List<Organization> findByIdNotAndParentIdsNotLike(Long id,String parentIds);
    


	// void move(Organization source, Organization target);
}
